package com.shanzmoo.db.stm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.db.stm.entity.StmSysRoleEntity;
import com.shanzmoo.db.stm.entity.query.StmMemberRoleQuery;
import com.shanzmoo.db.stm.entity.vo.StmMemberRoleVO;
import com.shanzmoo.db.stm.entity.StmMemberRoleEntity;

import java.util.List;

/**
 * 仓储用户系统用户角色关联表 服务类
 *
 * @author Gzhao 2021-03-10
 */
public interface IStmMemberRoleService extends IService<StmMemberRoleEntity> {

    List<StmMemberRoleVO> queryPageList(StmMemberRoleQuery query);

    List<StmSysRoleEntity> getUserRoles(Integer memberId);
}
